package com.ruoyi.web.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 定时任务调度日志表
 * </p>
 *
 * @author lh
 * @since 2025-01-16
 */
public class Sys_job_log implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 任务日志ID
     */
    @TableId(value = "job_log_id", type = IdType.AUTO)
    private Long job_log_id;

    /**
     * 任务名称
     */
    private String job_name;

    /**
     * 任务组名
     */
    private String job_group;

    /**
     * 调用目标字符串
     */
    private String invoke_target;

    /**
     * 日志信息
     */
    private String job_message;

    /**
     * 执行状态（0正常 1失败）
     */
    private String status;

    /**
     * 异常信息
     */
    private String exception_info;

    /**
     * 创建时间
     */
    private Date create_time;


    public Long getJob_log_id() {
        return job_log_id;
    }

    public void setJob_log_id(Long job_log_id) {
        this.job_log_id = job_log_id;
    }

    public String getJob_name() {
        return job_name;
    }

    public void setJob_name(String job_name) {
        this.job_name = job_name;
    }

    public String getJob_group() {
        return job_group;
    }

    public void setJob_group(String job_group) {
        this.job_group = job_group;
    }

    public String getInvoke_target() {
        return invoke_target;
    }

    public void setInvoke_target(String invoke_target) {
        this.invoke_target = invoke_target;
    }

    public String getJob_message() {
        return job_message;
    }

    public void setJob_message(String job_message) {
        this.job_message = job_message;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getException_info() {
        return exception_info;
    }

    public void setException_info(String exception_info) {
        this.exception_info = exception_info;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    @Override
    public String toString() {
        return "Sys_job_log{" +
        "job_log_id=" + job_log_id +
        ", job_name=" + job_name +
        ", job_group=" + job_group +
        ", invoke_target=" + invoke_target +
        ", job_message=" + job_message +
        ", status=" + status +
        ", exception_info=" + exception_info +
        ", create_time=" + create_time +
        "}";
    }
}
